.class public Lroboguice/activity/RoboAccountAuthenticatorActivity;
.super Landroid/accounts/AccountAuthenticatorActivity;
.source "RoboAccountAuthenticatorActivity.java"

# interfaces
.implements Lroboguice/inject/InjectorProvider;


# instance fields
.field protected a:Lroboguice/event/EventManager;

.field protected b:Lroboguice/inject/ContextScope;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 41
    invoke-direct {p0}, Landroid/accounts/AccountAuthenticatorActivity;-><init>()V

    return-void
.end method


# virtual methods
.method public a()Lcom/google/inject/Injector;
    .locals 1

    .prologue
    .line 170
    invoke-virtual {p0}, Lroboguice/activity/RoboAccountAuthenticatorActivity;->getApplication()Landroid/app/Application;

    move-result-object p0

    check-cast p0, Lroboguice/application/RoboApplication;

    invoke-virtual {p0}, Lroboguice/application/RoboApplication;->a()Lcom/google/inject/Injector;

    move-result-object v0

    return-object v0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 156
    invoke-super {p0, p1, p2, p3}, Landroid/accounts/AccountAuthenticatorActivity;->onActivityResult(IILandroid/content/Intent;)V

    .line 157
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 159
    :try_start_0
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnActivityResultEvent;

    invoke-direct {v1, p1, p2, p3}, Lroboguice/activity/event/OnActivityResultEvent;-><init>(IILandroid/content/Intent;)V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 161
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 163
    return-void

    .line 161
    :catchall_0
    move-exception v0

    iget-object v1, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    throw v0
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 3
    .parameter

    .prologue
    .line 143
    invoke-virtual {p0}, Lroboguice/activity/RoboAccountAuthenticatorActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v0

    .line 144
    invoke-super {p0, p1}, Landroid/accounts/AccountAuthenticatorActivity;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    .line 145
    iget-object v1, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v2, Lroboguice/activity/event/OnConfigurationChangedEvent;

    invoke-direct {v2, v0, p1}, Lroboguice/activity/event/OnConfigurationChangedEvent;-><init>(Landroid/content/res/Configuration;Landroid/content/res/Configuration;)V

    invoke-virtual {v1, v2}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 146
    return-void
.end method

.method public onContentChanged()V
    .locals 2

    .prologue
    .line 150
    invoke-super {p0}, Landroid/accounts/AccountAuthenticatorActivity;->onContentChanged()V

    .line 151
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnContentChangedEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnContentChangedEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 152
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2
    .parameter

    .prologue
    .line 48
    invoke-virtual {p0}, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a()Lcom/google/inject/Injector;

    move-result-object v1

    .line 49
    const-class v0, Lroboguice/event/EventManager;

    invoke-interface {v1, v0}, Lcom/google/inject/Injector;->getInstance(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lroboguice/event/EventManager;

    iput-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    .line 50
    const-class v0, Lroboguice/inject/ContextScope;

    invoke-interface {v1, v0}, Lcom/google/inject/Injector;->getInstance(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lroboguice/inject/ContextScope;

    iput-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    .line 51
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 52
    invoke-interface {v1, p0}, Lcom/google/inject/Injector;->injectMembers(Ljava/lang/Object;)V

    .line 53
    invoke-super {p0, p1}, Landroid/accounts/AccountAuthenticatorActivity;->onCreate(Landroid/os/Bundle;)V

    .line 54
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnCreateEvent;

    invoke-direct {v1, p1}, Lroboguice/activity/event/OnCreateEvent;-><init>(Landroid/os/Bundle;)V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 55
    return-void
.end method

.method protected onDestroy()V
    .locals 2

    .prologue
    .line 130
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 132
    :try_start_0
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnDestroyEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnDestroyEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 134
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    invoke-virtual {v0, p0}, Lroboguice/event/EventManager;->a(Landroid/content/Context;)V

    .line 135
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 136
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->c(Landroid/content/Context;)V

    .line 137
    invoke-super {p0}, Landroid/accounts/AccountAuthenticatorActivity;->onDestroy()V

    .line 139
    return-void

    .line 134
    :catchall_0
    move-exception v0

    iget-object v1, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    invoke-virtual {v1, p0}, Lroboguice/event/EventManager;->a(Landroid/content/Context;)V

    .line 135
    iget-object v1, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 136
    iget-object v1, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p0}, Lroboguice/inject/ContextScope;->c(Landroid/content/Context;)V

    .line 137
    invoke-super {p0}, Landroid/accounts/AccountAuthenticatorActivity;->onDestroy()V

    throw v0
.end method

.method protected onNewIntent(Landroid/content/Intent;)V
    .locals 2
    .parameter

    .prologue
    .line 112
    invoke-super {p0, p1}, Landroid/accounts/AccountAuthenticatorActivity;->onNewIntent(Landroid/content/Intent;)V

    .line 113
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 114
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnNewIntentEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnNewIntentEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 115
    return-void
.end method

.method protected onPause()V
    .locals 2

    .prologue
    .line 106
    invoke-super {p0}, Landroid/accounts/AccountAuthenticatorActivity;->onPause()V

    .line 107
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnPauseEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnPauseEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 108
    return-void
.end method

.method protected onRestart()V
    .locals 2

    .prologue
    .line 85
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 86
    invoke-super {p0}, Landroid/accounts/AccountAuthenticatorActivity;->onRestart()V

    .line 87
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnRestartEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnRestartEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 88
    return-void
.end method

.method protected onResume()V
    .locals 2

    .prologue
    .line 99
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 100
    invoke-super {p0}, Landroid/accounts/AccountAuthenticatorActivity;->onResume()V

    .line 101
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnResumeEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnResumeEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 102
    return-void
.end method

.method public onRetainNonConfigurationInstance()Ljava/lang/Object;
    .locals 0

    .prologue
    .line 80
    return-object p0
.end method

.method protected onStart()V
    .locals 2

    .prologue
    .line 92
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 93
    invoke-super {p0}, Landroid/accounts/AccountAuthenticatorActivity;->onStart()V

    .line 94
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnStartEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnStartEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 95
    return-void
.end method

.method protected onStop()V
    .locals 2

    .prologue
    .line 119
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 121
    :try_start_0
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnStopEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnStopEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 123
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 124
    invoke-super {p0}, Landroid/accounts/AccountAuthenticatorActivity;->onStop()V

    .line 126
    return-void

    .line 123
    :catchall_0
    move-exception v0

    iget-object v1, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 124
    invoke-super {p0}, Landroid/accounts/AccountAuthenticatorActivity;->onStop()V

    throw v0
.end method

.method public setContentView(I)V
    .locals 2
    .parameter

    .prologue
    .line 59
    invoke-super {p0, p1}, Landroid/accounts/AccountAuthenticatorActivity;->setContentView(I)V

    .line 60
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0}, Lroboguice/inject/ContextScope;->a()V

    .line 61
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnContentViewAvailableEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnContentViewAvailableEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 62
    return-void
.end method

.method public setContentView(Landroid/view/View;)V
    .locals 2
    .parameter

    .prologue
    .line 73
    invoke-super {p0, p1}, Landroid/accounts/AccountAuthenticatorActivity;->setContentView(Landroid/view/View;)V

    .line 74
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0}, Lroboguice/inject/ContextScope;->a()V

    .line 75
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnContentViewAvailableEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnContentViewAvailableEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 76
    return-void
.end method

.method public setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 66
    invoke-super {p0, p1, p2}, Landroid/accounts/AccountAuthenticatorActivity;->setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 67
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0}, Lroboguice/inject/ContextScope;->a()V

    .line 68
    iget-object v0, p0, Lroboguice/activity/RoboAccountAuthenticatorActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnContentViewAvailableEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnContentViewAvailableEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 69
    return-void
.end method
